-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: no more dataurls & localhost links #900
Conversation
@NeonGamerBot-QK is attempting to deploy a commit to the Hack Club Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lol, love this. I'll merge it after testing it out! |
Wait up! |
value: JSON.stringify( | ||
ships.map((s) => { | ||
if (s.screenshotUrl.startsWith('data:')) | ||
s.screenshotUrl = `replace_me_with_a_non_dataencoded_url_plz` | ||
return s | ||
}), | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this to fix data that is currently incorrect in the wild?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes! currently it soft locks users (aka vercel 500) which means they cant ship projects. ofc i can remove this and you guys will have to unlock them manually ;-;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok amazing - tysm for this fix!
@malted I'll leave this for you to merge then! |
Fixes #899 #901
Closes #899
Closes #901
this also makes it so only
http(s)
urls work